package com.crane.oss.xunfei.resp;

import lombok.Data;


@Data
public class ApiSingleResponse<T>  extends ApiResponse{

    private T data;

    public static ApiSingleResponse buildFailure() {
        ApiSingleResponse response=new ApiSingleResponse();
        response.setCode(500);
        response.setMsg("failure");
        return response;
    }
}
